resources = gnome.compile_resources('mp-resources',
                                    'mp-resources.gresource.xml')
executable ('multipass-gui',
            [ 'main.c',
              'mp-application.c',
              'mp-client.c',
              'mp-configured-instance-row.c',
              'mp-details-dialog.c',
              'mp-instance.c',
              'mp-launch-dialog.c',
              'mp-running-instance-row.c',
              'mp-window.c' ] + resources,
            dependencies: [ gtk_dep, vte_dep ],
            install: true)

i18n.merge_file ('desktop-file',
                 input: 'multipass-gui.desktop.in',
                 output: 'multipass-gui.desktop',
                 install: true,
                 install_dir: join_paths (get_option ('prefix'), get_option ('datadir'), 'applications'),
                 po_dir: '../po',
                 type: 'desktop')
